package com.jtny.nytb.config.measurementtype.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@ApiModel("计量单位分类VO对象")
@Data
public class MeasurementTypeVO implements Serializable {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("计量单位分类编号")
    @NotBlank(message = "计量单位为分类编码不能为空")
    private String code;

    @ApiModelProperty("数据字典名称")
    @NotBlank(message = "计量单位分类名称不能为空")
    private String name;

    @ApiModelProperty("数据字典状态")
    private Integer status;

    @ApiModelProperty("创建人姓名")
    protected String creatorName;

    @ApiModelProperty("创建时间")
    protected Long createTime;
}
